package com.pristine.service.wsdl;

import java.util.List;

import javax.jws.WebParam;
import javax.jws.WebService;

import com.pristine.vo.ConsumableVO;

@WebService
public interface IConsumableService {
	
	public Integer createConsumable(
			@WebParam(name = "consumable") final ConsumableVO consumable);

	public Integer updateConsumable(
			@WebParam(name = "consumable") final ConsumableVO consumable);

	public boolean deleteConsumable(@WebParam(name = "id") final Integer id);

	public ConsumableVO getConsumableById(
			@WebParam(name = "id") final Integer id);

	public List<ConsumableVO> getAllConsumable();
}
